package com.itluma.myproject.shiro.token;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author 飞鸟
 * @create 2021-06-15 10:09
 */
public class MyToken extends UsernamePasswordToken {
    private String code;//验证码

    public MyToken(String code) {
        this.code = code;
    }

    public MyToken(String username, String password, String code) {
        super(username, password);
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
